let btn=document.querySelector('.submit-btn');
let account=document.querySelector('.input-group input[type="text"]');
let psd=document.querySelector('.input-group input[type="password"]');
function login(){
    if(account.value==='admin'&&psd.value==='123456'){
        window.location.href = "index.html";
    }else{
        alert('用户名或密码错误');
    }
}